package com.dgut.forum.services;

import com.dgut.forum.model.Message;

import java.util.List;

public interface IMessageService {
    void createMessage(Message message);

    int selectMessageUnRead(Long receiveUserId);

    Message selectById(Long id);

    List<Message> getAll(Long receiveUserId);

    void updateState(Long id,byte type);

    void reply(Long id,Message message);
}
